<script setup lang="ts">
import { RouterLink, RouterView } from 'vue-router'
</script>

<template>
      <nav>
        <RouterLink to="/">Home</RouterLink>
        <RouterLink to="/about">About</RouterLink>
        <RouterLink to="/login">登录</RouterLink>
        <RouterLink to="/memberadd">会员添加</RouterLink>
        <RouterLink to="/memberlist">会员显示</RouterLink>
        <RouterLink to="/memberupdate">会员修改</RouterLink>
      </nav>
  <RouterView />
</template>

<style scoped>
a{
  margin: 0 10px;
}
</style>
